package com.cskaoyan.market.service.admin;

import com.cskaoyan.market.db.domain.MarketCoupon;

import java.util.List;

public interface MarketCouponService {
    List<MarketCoupon> list(Integer page, Integer limit, String name, String type, String status, String sort, String order);

    void addCoupon(MarketCoupon marketCoupon);

    int update(MarketCoupon marketCoupon);

    int delete(MarketCoupon marketCoupon);

    List<MarketCoupon> listUser(String page, String limit, String couponId, String sort, String order);

    MarketCoupon read(String id);
}
